package com.common.core.base.entity;

import com.alibaba.fastjson2.JSONArray;
import com.common.core.base.dos.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;


/**
 * 菜单权限表 sys_menu
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysMenu extends BaseDO<SysMenu>
{
    private static final long serialVersionUID = 1L;

    /** 菜单ID */
    private Long menuId;

    /** 菜单名称 */
    private String menuName;

    /** 显示顺序 */
    private Integer orderNum;

    /** 路由地址 */
    private String path;

    /** 菜单状态（0正常 1停用） */
    private int status;

    /** 菜单图标 */
    private String icon;

    /** 角色 */
    private JSONArray roles;
}
